package com.example.communitypro.mapper;


import com.example.communitypro.pojo.UserSearchHistory;

import java.util.List;

public interface UserSearchHistoryMapper {
    List<UserSearchHistory> selectByUser(int user_no); //查找某用户的搜索记录 √

    int deleteByUser(int user_no);    //清空某用户的搜索记录 √

    int deleteByPrimaryKey(Integer searchHistoryNo);

    int insert(UserSearchHistory record);

    int insertSelective(UserSearchHistory record);

    UserSearchHistory selectByPrimaryKey(Integer searchHistoryNo);

    int updateByPrimaryKeySelective(UserSearchHistory record);

    int updateByPrimaryKey(UserSearchHistory record);
}